home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
packet
/
terminal
/
top_152
/
src152.exe
/
rar
/
TOPOVR1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1995-05-16
|
4KB
|
117 lines
{┌─────────────────────────────────────────────────────────────────────────┐}
{│ │}
{│ T. O. P. │}
{│ │}
{│ (T)he (O)ther (P)acket │}
{│ │}
{│ Unit: T O P O V R 1 . P A S │}
{│ │}
{│ │}
{│ Programmcode, der aus dem Overlayteil nachgeladen wird │}
{└─────────────────────────────────────────────────────────────────────────┘}
UNIT TOPOVR1;
{$F+,O+}
Interface
Uses CRT,
DOS,
TOPEMS,
TOPXMS,
TOPDEFS;
(* Proceduren und Funtionen der TOPFILE.PAS *)
Function Compute_CRC(CRC : Integer; Zeile : String) : Integer;
Procedure FileInfo(Kanal,Art : Byte; Groesse,Count,tGroesse,tCount : LongInt);
Function Zeit_to_Sek(Zeile : Str8) : LongInt;
Function Time_Differenz(Start,Stop : Str8) : Str8;
Function FileBaud(ZeitStr,AnzStr : Str9) : Str9;
Procedure Kill_Save_File(Kanal : Byte);
Procedure Close_SaveFiles;
Procedure Open_SaveFiles;
Procedure Neu_Name(Kanal,Art : Byte; Call : str9; Name : str19);
Function GetName(Kanal : Byte; Call : Str9; var FlagByte : Byte) : Str40;
Function Platzhalter(Kanal : Byte; Zeile : String) : String;
Function MakeBinStr(Kanal : Byte; Zeile : Str80) : Str80;
Function SaveNameCheck(Art : Byte; Zeile : Str80) : Boolean;
Function MakePathName(Kanal : Byte; Var DFlag : Boolean; Zeile : Str80) : Str80;
Function FNameOK(Zeile : Str80) : Boolean;
Function PfadOk(Art : Byte; Zeile : Str80) : Boolean;
Function MkSub(Pfad : Str80) : Boolean;
Procedure KillFile(Zeile : Str80);
Procedure Ini_RemPath;
Procedure File_Bearbeiten(Kanal : Byte; Zeile : Str80);
(* Proceduren und Funtionen der TOPFRX.PAS *)
Procedure FileRxMenu(Kanal : Byte);
Procedure Datei_Empfangen(Kanal : Byte; Art : Byte);
Function OpenTextFile(Kanal : Byte) : Boolean;
Procedure OpenBinFile(Kanal : Byte; Zeile : Str80);
Procedure CloseRxFile(Kanal,Art : Byte);
Procedure SaveFile(Kanal : Byte);
Function SvFRxCheck(Kanal : Byte; Zeile : Str60; Name : Str12) : Str60;
(* Proceduren und Funtionen der TOPFTX.PAS *)
Procedure FileTxMenu(Kanal : Byte);
Procedure Datei_Senden(Kanal : Byte; Art : Byte);
Procedure FileSendVon(Kanal : Byte; Zeile : Str40);
Procedure Send_File(Kanal : Byte; OFlag : Boolean);
Procedure SF_Text(Kanal : Byte; Zeile : Str80);
Procedure TXT_Senden(Kanal,Art,FNr : Byte);
Procedure BIN_TX_File_Sofort(Kanal : Byte; Zeile : Str80);
Procedure TXT_TX_File_Sofort(Kanal : Byte; Zeile : Str80);
Procedure FertigSenden(Kanal : Byte);
(* Proceduren und Funtionen der TOP7PL.PAS *)
Procedure Open_Close_7Plus(Kanal : Byte; Zeile : Str80);
Procedure Close_7Plus(Kanal : Byte);
(* Proceduren und Funtionen der TOPBUF.PAS *)
Procedure OpenBufferFile(Kanal : Byte);
Procedure EraseBufferFile(Kanal : Byte);
Procedure SendTestBuffer(Kanal : Byte);
(* Proceduren und Funtionen der TOPDIR.PAS *)
Procedure GetDirFiles(Zeile : Str80; ax : Byte);
Procedure DirZeig(Var Zeile : Str80; var Ch : char; QRet : Boolean);
Procedure RemoteDir(Kanal : Byte; Zeile : Str80);
Procedure SortDir;
Procedure DelAll(Pfad : Str80; Yp : Byte);
Function Get7PlFNr(Zeile : Str80) : Str20;
(* Proceduren und Funtionen der TOPCOPY.PAS *)
Procedure FileKopieren(Var Zeile : String);
Procedure Delete_Datei(Var Zeile : Str80);
Implementation
Uses TOPACT,
TOPACT1,
TOPOVR,
TOPOVR2,
TOPOVR3,
TOPOVR4;
{$I TOPFILE}
{$I TOPFRX}
{$I TOPFTX}
{$I TOP7PL}
{$I TOPBUF}
{$I TOPDIR}
{$I TOPCOPY}
End.